package com.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.pojo.User_Role;

@Mapper
@Repository
public interface UserRoleDao {
	public User_Role getByUsername(String u_username);

	public void updateRole(@Param("r_id")int r_id,@Param("u_id")int u_id);

	public boolean addRole(@Param("r_id")int r_id,@Param("u_id")int u_id);
}
